<template>
  <page-loading :show="pageLoading">
    <!-- 我的爱车-->
    <view class="container">
      <radio-group @change="mycarinf">
        <label
          class="carboxas flex flex-jc-c flex-ai-c"
          v-for="(item, index) in mycarlist"
          :key="index"
        >
          <view class="flex flex-jc-c flex-ai-c">
            <view class="caimgs">
              <image :src="item.brandImg" mode="heightFix"></image>
            </view>
            <view class="cartexts">
              <view class="carnamews">
                <!-- {{item.brand_Name}}-{{item.car_Type_Name}} -->
              </view>
              <view class="font-28 color-666">
                {{ item.carName }}
              </view>
            </view>
          </view>
          <view>
            <radio
              :value="index + ''"
              color="#FDD421"
              style="transform: scale(0.8)"
            />
          </view>
        </label>
      </radio-group>
      <!-- 默认图 -->
      <defaultImg :show="defaultImg" msg="暂无爱车,快去添加吧"></defaultImg>

      <view class="btns flex flex-jc-c flex-ai-c" @click="addCar">
        <view class="btnname ml-15"> 添加车辆 </view>
      </view>
    </view></page-loading
  >
</template>

<script src="./myLoveCar.js"></script>
<style scoped lang="scss">
@import './myLoveCar.scss';
</style>
